﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace RabbitmqServer
{
    public class LarkMessage
    {
        public Guid MessageId { get; }
        public uint MessageType { get; }
        public uint Version { get; }
        public string Data { get; }
        [JsonIgnore] public DateTime SendDateTime { get; set; }

        public LarkMessage(Guid messageId, uint messageType, string data, uint version)
        {
            MessageId = messageId;
            MessageType = messageType;
            Data = data;
            Version = version;
        }

    }
}
